﻿using System.ComponentModel.DataAnnotations;

namespace Model.Entity.Member
{
    /// <summary>
    /// 用户会员表
    /// </summary>
    public class TB_Member : EntityBase_LONG
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        [Required]
        public int UserId { get; set; }
        /// <summary>
        /// 会员类型Id
        /// </summary>
        [Required]
        public int MemberTypeId { get; set; }
        /// <summary>
        /// 等级
        /// </summary>
        [Required]
        public int Level { get; set; }
        /// <summary>
        /// 经验
        /// </summary>
        [Required]
        public int Experience { get; set; }
        /// <summary>
        /// 经验上限
        /// </summary>
        [Required]
        public int ExperienceCap { get; set; }
        /// <summary>
        /// 到期时间
        /// </summary>
        [Required]
        public DateTime ExpiredTime { get; set; }
    }
}
